/**
 */
package com.dingpeikeji.quickdeer.core.modules.schedef.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

/**
 * 班次审核Entity
 * @author Zhaoy
 * @version 2016-06-22
 */
public class TSchedefAudit extends DataEntity<TSchedefAudit> {
	
	private static final long serialVersionUID = 1L;
	private String scheauditid;		// scheauditid
	private String scheid;		// scheid
	private String operaterid;		// operaterid
	private String auditopn;		// auditopn
	private String opndetail;		// opndetail
	private Date operatedate;		// operatedate
	
	public TSchedefAudit() {
		super();
	}

	public TSchedefAudit(String id){
		super(id);
	}

	public String getScheauditid() {
		return scheauditid;
	}

	public void setScheauditid(String scheauditid) {
		this.scheauditid = scheauditid;
	}
	
	public String getScheid() {
		return scheid;
	}

	public void setScheid(String scheid) {
		this.scheid = scheid;
	}
	
	public String getOperaterid() {
		return operaterid;
	}

	public void setOperaterid(String operaterid) {
		this.operaterid = operaterid;
	}
	
	@Length(min=1, max=1, message="auditopn长度必须介于 1 和 1 之间")
	public String getAuditopn() {
		return auditopn;
	}

	public void setAuditopn(String auditopn) {
		this.auditopn = auditopn;
	}
	
	@Length(min=0, max=200, message="opndetail长度必须介于 0 和 200 之间")
	public String getOpndetail() {
		return opndetail;
	}

	public void setOpndetail(String opndetail) {
		this.opndetail = opndetail;
	}
	
	public Date getOperatedate() {
		return operatedate;
	}

	public void setOperatedate(Date operatedate) {
		this.operatedate = operatedate;
	}
	
}
